<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">    
    <title>HD Movies</title>
    <link rel="Stylesheet" href="/movie/css/m.css">
	<script src="/movie/js/jquery-1.js" type="text/javascript" charset="utf-8"></script>
	<script src="/movie/js/jquery.js" type="text/javascript" charset="utf-8"></script>
	<script src="/movie/js/jquery_003.js" type="text/javascript" charset="utf-8"></script>
	<script src="/movie/js/kakaoLink.js" type="text/javascript" charset="utf-8"></script>    
    <style type="text/css"> 

    </style> 		
</head>
<body>
    <div id="jqt">
        
	<script type="text/javascript" src="/movie/js/jquery_002.js"></script>

    
	<div id="ranktop">
		<div class="toolbar">
			<h1>HD Movie TOP10</h1>
			 <div class="topBtn_r" id="homeBtn" onclick="Gnb_Display()" style=""><span>홈</span></div>
		</div>
		<ol class="tabbar"> 
			<li id="subTabRankRsv" class="on" onclick="location.href='./index.html'"><span>Movie Top10</span></li> 
			<li id="subTabRankMark" onclick="location.href='./movieSearch.html'"><span>영화찾기</span></li> 
		</ol> 
		<ul id="divMovieListTop10" class="maxTop"></ul>
	</div>
	
	<script id="movieBestRankTmpl" type="text/x-jquery-tmpl">	
		<li onclick="location.href='http://www.youtube.com/v/${MOVIE_LINK}&hl=ko&fs=1&fmt=22'">
			<div class="poster">							
				<img  src="http://image.maxmovie.com/movieinfo/image/poster/movie/z_${TITLE_IMAGE}" width="68" height="97">
			</div>
			<div class="txt">
				<div class="${getRankClass(RANK_NO)}">${RANK_NO}위</div> ${MOVIE_NAME}
				<p class="txtS">개봉 : ${getOpenDate(OPEN_DATE)}
				<br />조회수 : ${SHOW_COUNT}<br />평점 : {{html getMovieMarkImage(GRADE_SCORE)}} ${GRADE_SCORE}<br /><a href='${MOVIE_LINK}'>영화보기</a></p>
			</div>
		</li>	
	</script>	
	<script type="text/javascript">
	    document.domain = "czzle.codns.com";
	    $(function() {
	        $.ajax({
	            type: "POST",
	            contentType: "application/json; charset=utf-8",
	            headers: { "cache-control": "no-cache", "pragma": "no-cache" },
	            cache: false,		
	            url: "/movie/list.json",
	            dataType: "json",
	            success: function(result) {
	                renderTemplate('#divMovieListTop10', '#movieBestRankTmpl', result.rows);
	            },
	            error: AjaxFailed
	        });
	    });
	</script>

    </div>
    
<script>$("#homeBtn").show();</script>

</body></html>